<!DOCTYPE html> 
<html lang="en-US">
<head>
  <title>ISS Project</title>
  <meta charset="utf-8">
  <link href="<?php echo base_url(); ?>assets/css/global.css" rel="stylesheet" type="text/css">
</head>
<body>
	<div class="navbar navbar-fixed-top ">
	  <div class="navbar-inner">
	    <div class="container">
                 <div class="row">
                     <div class="span3 ">
                         <a class="brand">ISS Projects</a>
                     </div>
                     <div class="span1 offset7">
                        <ul class="nav">
                            <li>
                               <a href="#"><?php echo $this->session->userdata('user_name'); ?></a>
                           </li>
                           
                        </ul>
                     </div>
                     <div class="span1">
                        <ul class="nav">
                            <li>
                                <?php
                                if($this->session->userdata('is_logged_in')){
                                        echo '<a href="'. base_url().'/index.php/user/logout">Logout</a>';
                                        
                                } else
                                {
                                    echo '<a href="'. base_url().'/index.php/user/">Login</a>';
                                    echo $this->session->userdata('is_logged_in');
                                }
                                ?>
                           </li>
                        </ul>
                     </div>
	    
                </div>
	    </div>
	  </div>
	</div>	
    
